﻿// <copyright file="IAuditable.cs" company="City of Portland, BES-ASM">
// </copyright>
// <summary>IAuditable interface</summary>

namespace BESASM.EMGAATS.BusinessClasses
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;

  /// <summary>
  /// An interface for auditable items
  /// </summary>
  public interface IAuditable
  {
    /// <summary>
    /// Gets or sets the user who last edited this item
    /// </summary>
    string EditedBy { get; set; }

    /// <summary>
    /// Gets or sets the reason for the last edit
    /// </summary>
    string EditReason { get; set; }

    /// <summary>
    /// Gets or sets the date and time that this item was created
    /// </summary>
    DateTime AppendDate { get; set; }

    /// <summary>
    /// Gets or sets the date and time that this item was last edited
    /// </summary>
    DateTime EditDate { get; set; }
  }
}
